#ifndef METAOBJECT_H
#define METAOBJECT_H
#include <string>
#include <vector>


namespace gitstore {

struct Node {
    time_t date;
    std::string note;
    std::string version;
    int type;
    std::vector<std::string> parents;
    std::vector<std::string> children;
    std::string obj_name;
};

struct Branch {
    time_t date;
    std::string note;
    std::string cur_version;
    std::string name;
    int type;
    std::string obj_name;
};

struct Object {
    std::string name;
    time_t date;
    std::string note;
    int type;
    int subtype = 0;
//    std::vector<std::string> nodes;
//    std::vector<std::string> branches;
    std::string main_branch;

};

}
#endif // METAOBJECT_H
